import { ApiProperty } from '@nestjs/swagger';
import { ResOp } from 'src/shared/interceptor/response.interceptor';

class LoginUserResponseDataDto {
  @ApiProperty({
    type: 'string',
    example: 'asdfafa5a5f1afa1f5',
    description: 'token',
  })
  token: string;
}

export class LoginUserReponseDto extends ResOp {
  @ApiProperty({ type: LoginUserResponseDataDto })
  data: LoginUserResponseDataDto;
}
